package entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import entity.Goods;

public class User implements Serializable {

	private String name;
	private String lastname;
	private String login;
	private String password;
	private List<Goods> shoppingCart = new ArrayList<Goods>();
	private boolean access = true;
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getLastname() {
		return lastname;
	}
	
	public void setLastname(String lastname) {
		this.lastname = lastname;
	}
	
	public String getLogin() {
		return login;
	}
	
	public void setLogin(String login) {
		this.login = login;
	}
	
	public String getPassword() {
		return password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}

	public List<Goods> getShoppingCart() {
		return shoppingCart;
	}

	public void setShoppingCart(List<Goods> shoppingCart) {
		this.shoppingCart = shoppingCart;
	}

	public boolean isAccess() {
		return access;
	}

	public void setAccess(boolean access) {
		this.access = access;
	}
}
